package com.sprucetec.livechat;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.HashSet;
import java.util.Set;

/**
 * 启动类
 */

//@RedisQueueScanner("com.sprucetec.queue")
@SpringBootApplication
public class LiveChatApplication {
    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(LiveChatApplication.class);
        Set<Object> sourcesSet = new HashSet<Object>();
        sourcesSet.add("classpath:spring/*.xml");
        application.setSources(sourcesSet);
        application.run(args);
    }
}
